#pragma once

namespace Microsoft {
	namespace Media {
		namespace FragmentedMediaSink {

			class Helpers
			{
			private:
				static void AddAttribute(_In_ GUID guidKey, _In_ IPropertyValue ^value, _In_ IMFAttributes *pAttr);

			public:
				static void ConvertPropertiesToMediaType(_In_ IMediaEncodingProperties ^mep, _Outptr_ IMFMediaType **ppMT);

				static HRESULT CopySample(_In_ IMFSample *pSample, _Out_ IMFSample **ppSample);
			};

		}
	}
}